package study.springboot.validation.controller.user;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import study.springboot.validation.controller.user.request.UserAddRequest;
import study.springboot.validation.support.result.Result;
import study.springboot.validation.support.result.Results;

@Slf4j
@RestController
@RequestMapping("/user")
public class UserController {

    @PostMapping("/add")
    public Result add(@RequestBody UserAddRequest request) {

        return Results.ok();
    }
}
